﻿using Sharp.Domain.PlatformBoundedContext.UserModule.Aggregates;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sharp.Domain.PlatformBoundedContext.ModelConfigurations
{
    public partial class ResetPasswordConfiguration : EntityTypeConfiguration<ResetPassword>
    {
        public ResetPasswordConfiguration()
        {
            HasKey(x => x.Id);
            Property(t => t.Id)
                .HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity)
                .IsRequired();
        }
    }
}
